package com.totem.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class WalletJournalVO implements Serializable {
    private Long id;
    private Long customerId;
    private Long orderId;
    @Schema(description = "流水类型",
            example = "RECHARGE,WITHDRAW," +
                    "GOODS_ORDER,FUND_ORDER,FUND_WITHDRAW,SUBSCRIBE_ORDER," +
                    "FUND_RETURN,SUBSCRIBE_RETURN," +
                    "INVITE_AWARD,TEAM_AWARD," +
                    "BAL_CONVERSION,ADMIN_OPERATE")
    private String journalType;
    private String journalTypeCn;
    @Schema(description = "交易前余额")
    private BigDecimal beforeBalance;
    @Schema(description = "交易金额")
    private BigDecimal amount;
    @Schema(description = "手续费")
    private BigDecimal charges;
    @Schema(description = "交易后余额")
    private BigDecimal afterBalance;
    @Schema(description = "币种", example = "USDO,USDT")
    private String currency;
    @Schema(description = "交易方向", example = "CREDIT-钱包余额减少,DEBIT-钱包余额增加")
    private String direction;
    @Schema(description = "流水状态", example = "PENDING,PROCESSING,FINISHED")
    private String journalState;

    @Schema(description = "流水创建时间")
    private String journalDate;
    @Schema(description = "昵称")
    private String nickname;
    @Schema(description = "流水备注,方便校对数据")
    private String remark;
}
